<?php if( $category->getStatusId() == MyConstants::STATUS_APPROVED): ?>
    <?php echo link_to(__('disable'), 'category/disable?id=' . $category->getId()) ?>

<?php else: ?>
    <?php echo link_to(__('enable'), 'category/enable?id=' . $category->getId()) ?>

<?php endif; ?>